package net.stogi.dsper.ui.shared;

import net.stogi.common.gwt.dispatch.shared.core.Result;
import net.stogi.common.security.dto.PrincipalData;

public class GetPrincipalDataResult implements Result {

	private static final long serialVersionUID = 959255279832705150L;

	private PrincipalData principalData;

	public GetPrincipalDataResult(PrincipalData principalData) {
		this.setPrincipalData(principalData);
	}

	protected GetPrincipalDataResult() {}

	/**
	 * @return the principalData
	 */
	public PrincipalData getPrincipalData() {
		return principalData;
	}

	/**
	 * @param principalData
	 *            the principalData to set
	 */
	public void setPrincipalData(PrincipalData principalData) {
		this.principalData = principalData;
	}
}
